[INFO] cloning repository https://github.com/patrulhasirius/rust-ml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrulhasirius/rust-ml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrulhasirius%2Frust-ml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrulhasirius%2Frust-ml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 247b0b809c81f1e0f05b901dbc2c6a12d219848a
[INFO] fixing patrulhasirius/rust-ml against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrulhasirius%2Frust-ml" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/patrulhasirius/rust-ml
[INFO] finished tweaking git repo https://github.com/patrulhasirius/rust-ml
[INFO] tweaked toml for git repo https://github.com/patrulhasirius/rust-ml written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/patrulhasirius/rust-ml on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/patrulhasirius/rust-ml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ndarray-rand v0.16.0
[INFO] [stderr]   Downloaded thread-tree v0.3.3
[INFO] [stderr]   Downloaded ndarray v0.17.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7
[INFO] running `Command { std: "docker" "start" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking thread-tree v0.3.3
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking ndarray v0.17.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking ndarray-rand v0.16.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking rust_ml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct NN<T: Float + SampleUniform> {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] 51 |     count: usize,
[INFO] [stdout] 52 |     shape: Vec<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NN` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SEED` is never used
[INFO] [stdout]   --> examples/nand.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const SEED: u64 = 69;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct NN<T: Float + SampleUniform> {
[INFO] [stdout]    |            -- field in this struct
[INFO] [stdout] 51 |     count: usize,
[INFO] [stdout] 52 |     shape: Vec<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NN` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR` is never used
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const OR: [[f32; 3];4] = [
[INFO] [stdout]    |       ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `NormalArray<f32>` from `f32`
[INFO] [stdout]   --> examples/xor.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Clone, Sub, Mul)]
[INFO] [stdout]    |                        ^^^ no implementation for `f32 - NormalArray<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sub<NormalArray<f32>>` is not implemented for `f32`
[INFO] [stdout]    = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]              `&f32` implements `Sub<&num_complex::Complex<f32>>`
[INFO] [stdout]              `&f32` implements `Sub<f32>`
[INFO] [stdout]              `&f32` implements `Sub<num_complex::Complex<f32>>`
[INFO] [stdout]              `&f32` implements `Sub`
[INFO] [stdout]              `f32` implements `Sub<&ArrayBase<S, D, f32>>`
[INFO] [stdout]              `f32` implements `Sub<&ArrayRef<f32, D>>`
[INFO] [stdout]              `f32` implements `Sub<&f32>`
[INFO] [stdout]              `f32` implements `Sub<&num_complex::Complex<f32>>`
[INFO] [stdout]            and 4 others
[INFO] [stdout]    = note: required for `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` to implement `Sub<NormalArray<f32>>`
[INFO] [stdout]    = note: this error originates in the derive macro `Sub` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NormalArray<f32>: ScalarOperand` is not satisfied
[INFO] [stdout]   --> examples/xor.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Clone, Sub, Mul)]
[INFO] [stdout]    |                        ^^^ the trait `ScalarOperand` is not implemented for `NormalArray<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `ScalarOperand`:
[INFO] [stdout]              bool
[INFO] [stdout]              f32
[INFO] [stdout]              f64
[INFO] [stdout]              i128
[INFO] [stdout]              i16
[INFO] [stdout]              i32
[INFO] [stdout]              i64
[INFO] [stdout]              i8
[INFO] [stdout]            and 9 others
[INFO] [stdout]    = note: required for `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` to implement `Sub<NormalArray<f32>>`
[INFO] [stdout]    = note: this error originates in the derive macro `Sub` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OR` is never used
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const OR: [[f32; 3];4] = [
[INFO] [stdout]    |       ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/xor.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Clone, Sub, Mul)]
[INFO] [stdout]    |                        ^^^ expected `NormalArray<f32>`, found `ArrayBase<OwnedRepr<f32>, ..., f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `NormalArray<f32>`
[INFO] [stdout]               found struct `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>`
[INFO] [stdout]    = note: this error originates in the derive macro `Sub` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ArrayRef<f32, Dim<[usize; 2]>>: Dot<NormalArray<f32>>` is not satisfied
[INFO] [stdout]    --> examples/xor.rs:35:31
[INFO] [stdout]     |
[INFO] [stdout]  35 |         let mut a1 = s.a0.dot(&s.w1);
[INFO] [stdout]     |                           --- ^^^^^ the trait `Dot<NormalArray<f32>>` is not implemented for `ArrayRef<f32, Dim<[usize; 2]>>`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Dot<Rhs>`:
[INFO] [stdout]               `ArrayRef<A, Dim<IxDynImpl>>` implements `Dot<ArrayRef<A, Dim<IxDynImpl>>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 1]>>` implements `Dot<ArrayBase<S, Dim<[usize; 1]>, A>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 1]>>` implements `Dot<ArrayBase<S, Dim<[usize; 2]>, A>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 1]>>` implements `Dot<ArrayRef<A, Dim<[usize; 1]>>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 1]>>` implements `Dot<ArrayRef<A, Dim<[usize; 2]>>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 2]>>` implements `Dot<ArrayBase<S, Dim<[usize; 1]>, A>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 2]>>` implements `Dot<ArrayBase<S, Dim<[usize; 2]>, A>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 2]>>` implements `Dot<ArrayRef<A, Dim<[usize; 1]>>>`
[INFO] [stdout]               `ArrayRef<A, Dim<[usize; 2]>>` implements `Dot<ArrayRef<A, Dim<[usize; 2]>>>`
[INFO] [stdout] note: required by a bound in `linalg::impl_linalg::<impl ArrayRef<A, Dim<[usize; 2]>>>::dot`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/linalg/impl_linalg.rs:299:17
[INFO] [stdout]     |
[INFO] [stdout] 298 |     pub fn dot<Rhs: ?Sized>(&self, rhs: &Rhs) -> <Self as Dot<Rhs>>::Output
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 299 |     where Self: Dot<Rhs>
[INFO] [stdout]     |                 ^^^^^^^^ required by this bound in `linalg::impl_linalg::<impl ArrayRef<A, Dim<[usize; 2]>>>::dot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot multiply `Xor` by `f32`
[INFO] [stdout]   --> examples/xor.rs:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 |         *self = self.clone() - g * RATE;
[INFO] [stdout]    |                                - ^ ---- f32
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                Xor
[INFO] [stdout]    |
[INFO] [stdout] note: `NormalArray<f32>` does not implement `Mul<f32>`
[INFO] [stdout]   --> src/lib.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct NormalArray<T>(Array<T, Dim<[usize; 2]>>);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ `NormalArray<f32>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> examples/xor.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `NormalArray<f32>`, found `ArrayBase<..., ..., {float}>`
[INFO] [stdout]    --> examples/xor.rs:110:26
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                          ^^
[INFO] [stdout]     = note: expected struct `NormalArray<f32>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<{float}>, Dim<[usize; 2]>, {float}>`
[INFO] [stdout] note: expected `NormalArray<f32>`, found `ArrayBase<OwnedRepr<f32>, ..., f32>`
[INFO] [stdout]    --> examples/xor.rs:110:30
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                              ^^
[INFO] [stdout]     = note: expected struct `NormalArray<f32>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>`
[INFO] [stdout] note: expected `NormalArray<f32>`, found `ArrayBase<OwnedRepr<f32>, ..., f32>`
[INFO] [stdout]    --> examples/xor.rs:110:34
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                                  ^^
[INFO] [stdout]     = note: expected struct `NormalArray<f32>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>`
[INFO] [stdout] note: expected `NormalArray<f32>`, found `ArrayBase<OwnedRepr<f32>, ..., f32>`
[INFO] [stdout]    --> examples/xor.rs:110:38
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                                      ^^
[INFO] [stdout]     = note: expected struct `NormalArray<f32>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>`
[INFO] [stdout] note: expected `NormalArray<f32>`, found `ArrayBase<OwnedRepr<f32>, ..., f32>`
[INFO] [stdout]    --> examples/xor.rs:110:42
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2);
[INFO] [stdout]     |                                          ^^
[INFO] [stdout]     = note: expected struct `NormalArray<f32>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> examples/xor.rs:24:8
[INFO] [stdout]     |
[INFO] [stdout]  24 |     fn new(
[INFO] [stdout]     |        ^^^
[INFO] [stdout]  25 |         a0: NormalArray<f32>,
[INFO] [stdout]     |         --------------------
[INFO] [stdout]  26 |         w1: NormalArray<f32>,
[INFO] [stdout]     |         --------------------
[INFO] [stdout]  27 |         b1: NormalArray<f32>,
[INFO] [stdout]     |         --------------------
[INFO] [stdout]  28 |         w2: NormalArray<f32>,
[INFO] [stdout]     |         --------------------
[INFO] [stdout]  29 |         b2: NormalArray<f32>,
[INFO] [stdout]     |         --------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArrayBase<OwnedRepr<{float}>, Dim<[usize; 2]>, {float}>` into `NormalArray<f32>`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0.into(), w1, b1, w2, b2);
[INFO] [stdout]     |                            +++++++
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` into `NormalArray<f32>`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1.into(), b1, w2, b2);
[INFO] [stdout]     |                                +++++++
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` into `NormalArray<f32>`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1.into(), w2, b2);
[INFO] [stdout]     |                                    +++++++
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` into `NormalArray<f32>`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2.into(), b2);
[INFO] [stdout]     |                                        +++++++
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>, f32>` into `NormalArray<f32>`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let mut m = Xor::new(a0, w1, b1, w2, b2.into());
[INFO] [stdout]     |                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/xor.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |     println!("cost = {}", m.cost(&train_set));
[INFO] [stdout]     |                             ---- ^^^^^^^^^^ expected `&NormalArray<f32>`, found `&ArrayBase<..., ..., {float}>`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&NormalArray<f32>`
[INFO] [stdout]                found reference `&ArrayBase<OwnedRepr<{float}>, Dim<[usize; 2]>, {float}>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> examples/xor.rs:44:8
[INFO] [stdout]     |
[INFO] [stdout]  44 |     fn cost(&self, train_set: &NormalArray<f32>) -> f32 {
[INFO] [stdout]     |        ^^^^        ----------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/xor.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |         m.learn(&train_set);
[INFO] [stdout]     |           ----- ^^^^^^^^^^ expected `&NormalArray<f32>`, found `&ArrayBase<..., ..., {float}>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&NormalArray<f32>`
[INFO] [stdout]                found reference `&ArrayBase<OwnedRepr<{float}>, Dim<[usize; 2]>, {float}>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> examples/xor.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  92 |     fn learn(&mut self, train_set: &NormalArray<f32>) {
[INFO] [stdout]     |        ^^^^^            ----------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_ml` (example "xor") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7", kill_on_drop: false }`
[INFO] [stdout] 2be9e4506b10e9066230525c2343ca4828785917ba1c9762c473c24c224dd0d7
